package edu.scau.mis.pos.service;

import edu.scau.mis.pos.domain.OrderItem;

import java.util.List;

public interface IOrderItemService {
    int insertOrderItem(OrderItem orderItem);

    int deleteOrderItemById(Long orderItemId);

    int updateOrderItem(OrderItem orderItem);

    List<OrderItem> selectOrderItemsByOrderId(String orderId);

    boolean clearOrderPriceAndQuantity(String orderId);

    List<OrderItem> getOrderItemsByOrderId(String orderId);


}
